<?

	include("inc/config.inc.php");

	$startdate = mysqli_real_escape_string($con,$_GET[sd]);
	$enddate = mysqli_real_escape_string($con,$_GET[ed]);
	$starttime = mysqli_real_escape_string($con,$_GET[st]);
	$endtime = mysqli_real_escape_string($con,$_GET[et]);

	echo daysCalculation($startdate, $enddate, $starttime, $endtime);

?>
